package com.jiaai.vip.api;

import com.jiaai.vip.api.model.TVipVO;

import java.util.List;
import java.util.Map;

/**
 * vip接口
 */
public interface IVIPApi {

    /**
     * 返回所有vip
     * @return
     */
    public Object  fidByAll() throws  Exception;

    /**
     * 购买vip
     * @param mId
     * @param vipId
     */
    public void purchase(String mId,Integer vipId);

    /**
     * 查询vip开通历史
     * @param mId
     * @return
     */
    public List<Map<String,Object>> fidPurchaseHistory(String mId);

    /**
     *编辑修改VIP
     * @param tVipVO
     * @return
     */
    public Object editVip(TVipVO tVipVO);


}
